// pages/index/comps/funcNav/funcNav.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        nowDate: String,
        videoShow: Boolean
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goGoodsList: function(e) {
            wx.navigateTo({
                url: '/pages/goods/goodsList/goodsList?classId=' + e.currentTarget.dataset.type
            })
        },

        goZeroBuy: function() {
            wx.navigateTo({
                url: '/pages/zeroBuy/index/index?type=0'
            })
        },

        goAgent: function() {
            wx.navigateTo({
                url: '/pages/shopManager/shopBuy/shopBuy'
            })
        },

        goVideo: function() {
            wx.navigateTo({
                url: '/pages/shopVideo/shopVideo/shopVideo'
            })
        },

        goShare: function() {
            wx.navigateTo({
                url: '/pages/share/share'
            })
        },

        goInformation: function() {
            wx.switchTab({
                url: '/pages/information/index/index'
            })
        }
    }
})